fix: support ScoreDebug formatting for paths - #376
Conversation
License Check Results🚀 The license check job ran with the Bazel command: bazel run --lockfile_mode=error //:license-checkStatus: Click to expand output |
|
The created documentation from the pull request is available at: docu-html |
Convert filesystem paths to logger-compatible strings while preserving debug formatting. Closes eclipse-score#375
e837a4b to
067022d
Compare
arkjedrz
left a comment
There was a problem hiding this comment.
Why is it required to cast Path and PathBuf to string? .bazelrc for persistency already has build --@score_baselibs//score/log_rust:safety_level=qm, which enables ScoreDebug implementations for those types.
Please also check what's the current state of Path and PathBuf certification. If it's going to be certified then safety_level=qm implementations can be moved into main one in log_rust implementation. If not then persistency should move from using them - replace with strings, with in-repo reimplementation, or even better - a baselibs one.
Once those topics are sorted out I can proceed with a review.
|
set to draft until #375 is clarified |
Summary
PathandPathBuflog arguments to logger-compatible owned strings.{:?}debug formatting semantics for paths.ScoreDebugimplementation forJsonBackend.Validation
bazel test --config=per-x86_64-linux --@score_baselibs//score/log_rust:safety_level=asil_b -- //src/rust/rust_kvs:testsbazel build --config=per-x86_64-linux --@score_baselibs//score/log_rust:safety_level=asil_b -- //src/rust/rust_kvs_tool:kvs_toolCloses #375